package ru.study.thinkin.chapter14;

public class GenericMethods {

	public <T> void f(T x) {
		System.out.println(x.getClass().getSimpleName());
	}
	
	public static void main(String[] args) {
		GenericMethods gm = new GenericMethods();
		gm.f(1L);
		gm.f(gm);
	}

}
